package com.xiaofengstu.mcams.web.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author fengzeng
 * @since 2022-05-07
 */
@Getter
@Setter
@TableName("t_asset")
@ToString
public class TAsset implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "asset_id",type = IdType.AUTO)
    private Integer assetId;

    @TableField("asset_name")
    private String assetName;

    @TableField("value")
    private Double value;

    @TableField("status")
    private String status;

    /**
     * 位置
     */
    @TableField("location")
    private String location;

    @TableField("dept_id")
    private Integer deptId;

    @TableField("user_id")
    private Integer userId;

    /**
     * 购买日期
     */
    @TableField("buy_date")
    private LocalDateTime buyDate;

    /**
     * 入库日期
     */
    @TableField("indate")
    private LocalDateTime inDate;

    /**
     * type id
     */
    @TableField("type_id")
    private Integer typeId;

    /**
     * type id
     */
    @TableField("campus_id")
    private Integer campusId;


    @TableField("status_step")
    private Integer statusStep;

    @TableField(exist = false)
    private String applyReason;


}
